<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>图书馆公告</title>
    <link rel="stylesheet" th:href="@{/css/style.css}">
    <style>
        body {
            background: #f0f2f5;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 60px 0 80px;
        }

        .container {
            max-width: 800px;
            margin: 30px auto;
            padding: 40px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        h2 {
            color: #2c3e50;
            text-align: center;
            margin-bottom: 40px;
            font-size: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .notice-section {
            margin: 30px 0;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 8px;
            transition: transform 0.2s ease;
        }

        .notice-section:hover {
            transform: translateY(-3px);
        }

        h3 {
            color: #3498db;
            margin-bottom: 15px;
            font-size: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        ul {
            padding-left: 25px;
            margin: 15px 0;
        }

        li {
            margin-bottom: 12px;
            line-height: 1.6;
            position: relative;
            padding-left: 25px;
        }

        li::before {
            content: "•";
            color: #3498db;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        strong {
            color: #e74c3c;
        }

        .contact-box {
            margin-top: 30px;
            padding: 20px;
            background: #e8f4ff;
            border-radius: 8px;
            border-left: 4px solid #3498db;
        }

        .contact-box h3 {
            color: #2c3e50;
            margin-bottom: 10px;
        }

        nav {
            background: #2c3e50;
            padding: 15px 0;
            position: fixed;
            bottom: 0;
            width: 100%;
        }

        nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            gap: 30px;
        }

        nav a {
            color: white;
            font-size: 16px;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        nav a:hover {
            color: #3498db;
            text-decoration: none;
        }

        @media (max-width: 768px) {
            .container {
                padding: 25px;
                margin: 20px;
            }

            h2 {
                font-size: 28px;
            }

            nav ul {
                gap: 15px;
                flex-wrap: wrap;
            }

            .notice-section {
                padding: 20px;
            }
        }
    </style>
</head>
<body>
<div class="container">
    <h2>📢 图书馆公告</h2>

    <div class="notice-section">
        <h3>📅 开放时间调整</h3>
        <p>自 <strong>2023年10月1日</strong> 起，开放时间调整为：</p>
        <ul>
            <li>周一至周五：<strong>8:00 - 21:00</strong></li>
            <li>周末及节假日：<strong>9:00 - 18:00</strong></li>
        </ul>
    </div>

    <div class="notice-section">
        <h3>📚 借阅规则更新</h3>
        <ul>
            <li>每位读者最多可借 <strong>10本</strong> 图书</li>
            <li>借阅期限 <strong>30天</strong></li>
            <li>逾期滞纳金 <strong>每日0.5元</strong></li>
        </ul>
    </div>

    <div class="notice-section">
        <h3>🎉 新书推荐</h3>
        <p>本月新增精选图书：</p>
        <ul>
            <li>《鲁滨逊漂流记》</li>
            <li>《西游记》</li>
            <li>《平凡的世界》</li>
        </ul>
    </div>

    <div class="notice-section">
        <h3>📣 活动通知</h3>
        <ul>
            <li><strong>读书分享会</strong>：10/15 14:00-16:00</li>
            <li><strong>儿童故事会</strong>：10/20 10:00-11:30</li>
        </ul>
    </div>

    <div class="contact-box">
        <h3>📞 联系我们</h3>
        <ul>
            <li>电话：<strong>0319-8589090</strong></li>
            <li>邮箱：<strong>library@example.com</strong></li>
        </ul>
    </div>
</div>

<nav>
    <ul>
        <li><a href="/seats">💺 座位选择</a></li>
        <li><a href="/history">📜 预约历史</a></li>
        <li><a href="/announcements">📢 最新公告</a></li>
    </ul>
</nav>
</body>
</html>